<ion-header>

  <ion-navbar>
    <ion-title>金兰宝</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list class="item-list" *ngIf="jlbRecord.voList?.length > 0">
    <ion-item-divider><span class="color-gray-light">矿机产金兰宝记录</span></ion-item-divider>
    <ng-container *ngFor="let item of jlbRecord.voList">
      <ion-item *ngIf="item.state === digState.recorded">
        <h2 class="color-orange pl">{{item.jlb || 0}} JLB</h2>
        <ion-note item-end class="font-smallest">{{item.createTime | date:'yyyy-MM-dd HH:mm:SS'}}</ion-note>
      </ion-item>
    </ng-container>
  </ion-list>
  <div class="text-center no-data" *ngIf="jlbRecord.voList?.length === 0">暂无数据</div>

  <ion-infinite-scroll (ionInfinite)="doInfinite($event)" [enabled]="scrollEnable">
    <ion-infinite-scroll-content loadingSpinner="bubbles"></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
